package com.sh.learn.manning.springinaction.chapter01.hello;

public class GreetingServiceImpl implements GreetingService {

	private String greeting;
	
	public GreetingServiceImpl() {
	    super();
    }
	
	public GreetingServiceImpl(String greeting) {
	    super();
	    this.greeting = greeting;
    }

	public void sayGreeting() {
		System.out.println(this.greeting);
	}

	public String getGreeting() {
    	return greeting;
    }

	public void setGreeting(String greeting) {
    	this.greeting = greeting;
    }

	
}
